import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
import router from "./router/index.js"
let app = createApp(App)
import { createPinia } from 'pinia';

import './style/index.scss'

// 引入字体图标样式
// import "./assets/fonts/iconfont.css"

// 引入flexible适配
import "./assets/flexible.js"

// 引入重置样式
import "./assets/reset.css"

// Toast
import 'vant/es/toast/style';
// Dialog
import 'vant/es/dialog/style';
// Notify
import 'vant/es/notify/style';
// ImagePreview
import 'vant/es/image-preview/style';

// 引入组件样式   vant移动端组件库
import vant from 'vant';
import 'vant/lib/index.css'

const pinia = createPinia();

app.use(vant)
app.use(pinia)
// 注册路由
app.use(router)
app.mount('#app')
